/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufba.lasid.v1.jitclouds.mda.datatypes.process;

import java.util.Calendar;

/**
 *
 * @author aliriosa
 */
public class BasicProcess implements IProcess{

    private String idProcess = null;
    private String descProcess = null;

    @Override
    public String getID() {
        return idProcess;
    }

    @Override
    public void setID(String idProcess) {
        this.idProcess = idProcess;
    }
    
    public static String createProcessID(){
        return (new Long(Calendar.getInstance().getTimeInMillis())).toString();
    }

    public BasicProcess() {
        idProcess = createProcessID();
    }

    @Override
    public String getDescription() {
        return this.descProcess;
    }

    @Override
    public void setDescription(String description) {
        this.descProcess = description;
    }
    
    
    
}
